const groupsRoute = {
    path: '/groups',
    name: 'Groups',
    props: true,
    meta: {
      title: '大客户管理平台',
    },
    component: () => import('@/views/groups/index'),
    children:[
      {
        path: 'employees/:groups_id',
        name: 'Employees',
        props: true,
        meta: {
          title: '员工列表'
        },
        component: () => import('@/views/groups/employees')
      },
      {
        path: 'search_stats/:groups_id',
        name: 'SearchStats',
        props: true,
        meta: {
          title: '统计查询'
        },
        component: () => import('@/views/groups/search_stats')
      },
      {
        path: 'day_report/:groups_id',
        name: 'DayReport',
        props: true,
        meta: {
          title: '日报表'
        },
        component: () => import('@/views/groups/day_report')
      },
      {
        path: 'month_report/:groups_id',
        name: 'MonthReport',
        props: true,
        meta: {
          title: '月报表'
        },
        component: () => import('@/views/groups/month_report')
      },
      {
        path: 'year_report/:groups_id',
        name: 'YearReport',
        props: true,
        meta: {
          title: '年报表'
        },
        component: () => import('@/views/groups/year_report')
      },
    ]
  }
  

export default groupsRoute